package cn.kgc.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName EduApplication
 * @Description: TODO
 * @Author :郭建宾
 * @Date 2020/6/23
 * @Version V1.0
 **/
@SpringBootApplication
@EnableDiscoveryClient //Nacos 注册
@EnableFeignClients // 调用
@ComponentScan(basePackages = ("cn.kgc"))
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
